/**
 * Author(s): xuming.Wong <xuming.Wong@gmail.com>
 */
#ifndef __QS_DiagramDialog_H__
#define __QS_DiagramDialog_H__

#include "Prerequisites.h"
#include "DiagramWidget.h"



namespace QSThink
{
	/*Diagram view container
	*/
	class DiagramDialog : 
		public QDialog
	{
	public:
		DiagramDialog(QWidget *parent);
		~DiagramDialog();

		void load(QString symbol);

		void load(QString symbol,QDate date);

		void loadCapital(QString symbol);

		void loadPriceEx(QString symbol);

		
		//
	protected:
		DiagramWidget* _viewWidget;

	};
}
#endif
